package com.baizhi.service;

import com.baizhi.dao.UserDao;
import com.baizhi.entity.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UsersService {
    @Autowired
    private UserDao ud;
    public List<Users> selectAll(){
        return ud.selectAll();
    }
}
